﻿@model IEnumerable<Ecommerce.Areas.Manager.Models.Order>
@{
    ViewBag.Title = "Your account";
}

<div id="detailProd" style="margin-right: 30px;">
    <h3>Your order</h3>
    <table>
        <thead>
            <tr>
                <td>Order No</td>
                <td>Order Date</td>
                <td>Total Price</td>
            </tr>
        </thead>
        <tbody>
            @foreach (var item in Model)
            {
                <tr>
                    <td>@Html.ActionLink("xxx" + item.OrderID.ToString(), "OrderDetail", "Customer", new { orderID = item.OrderID }, null)</td>
                    <td>@item.OrderDate.ToString("dd MMM yyyy")</td>
                    <td>@item.totalPrice $</td>
                </tr>
            }
        </tbody>
    </table>
</div>
